package com.weixing.mall.base.orm;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Map;

/**
 * @author miemie
 * @since 2018-08-10
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class MPage<T> extends Page<T> {
    private String name;
    private Map<String,Object> map;
    private static final long serialVersionUID = 5194933845448697148L;
    public MPage(long current, long size) {
        super(current, size);
    }
    public MPage(long current, long size, long total) {
        super(current, size, total, true);
    }
}